package com.atguigu.edu.realtime.common.constant;

public class Constant {

    public static final String hadoop102 ="49.232.253.21";
    public static final String hadoop103 ="43.143.254.56";
    public static final String hadoop104 ="43.138.35.245";
    public static final String hadoop105 ="101.42.9.226";
    public static final String hadoop106 ="101.42.158.18";



    public static final String MAXWELL_TYPE_INSERT = "insert" ;
    public static final String MAXWELL_TYPE_UPDATE = "update" ;
    public static final String MAXWELL_TYPE_DELETE = "delete" ;
    public static final String MAXWELL_TYPE_BOOTSTRAP_INSERT = "bootstrap-insert" ;




    public static final String CONFIG_DB_NAME = "edu_config" ;


    public static final String DORIS_DB_NAME = "edu2025_realtime" ;
    public static final String DORIS_FENODES = hadoop102+":7030" ;
    public static final String DORIS_USERNAME = "root" ;
    public static final String DORIS_PASSWORD = "000000" ;


    public static final String HBASE_ZOOKEEPER_QUORUM = hadoop104+","+hadoop105+","+hadoop106 ;
    public static final String HBASE_NAMESPACE = "edu" ;

    public static final String TABLE_PROCESS_DIM = "table_process_dim" ;
    public static final String TABLE_PROCESS_DWD = "table_process_dwd" ;

    public static final String DB_NAME = "edu2077" ;
    public static final String CK_PATH_PREFIX = "hdfs://"+hadoop103+":8020/edu/stream/" ;
    public static final String HDFS_USER_NAME_CONFIG = "HADOOP_USER_NAME";
    public static final String HDFS_USER_NAME_VALUE = "atguigu" ;

    public static final String KAFKA_BROKERS = hadoop104+":9092,"+hadoop105+":9092,+"+hadoop106+":9092";

    public static final String TOPIC_DB = "topic_db";
    public static final String TOPIC_LOG = "topic_log";

    public static final String MYSQL_HOST = hadoop102;
    public static final int MYSQL_PORT = 3306;
    public static final String MYSQL_USER_NAME = "root";
    public static final String MYSQL_PASSWORD = "000000";

    public static final String MYSQL_DRIVER = "com.mysql.cj.jdbc.Driver";
    public static final String MYSQL_URL = "jdbc:mysql://"+hadoop102+":3306?useSSL=false";

    public static final String TOPIC_DWD_TRAFFIC_DIRTY = " dwd_traffic_dirty ";


}
